﻿using NetCore.Model.Enity;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace NetCore.IRepository.User
{
    public interface IUserRepository : IBaseRepository<SysUser>
    {
        /// <summary>
        /// 获取用户数量
        /// </summary>
        /// <returns></returns>
        Task<int> GetCount();

        /// <summary>
        /// 添加设备信息
        /// </summary>
        /// <returns></returns>
        Task<long> AddEquipmentInfo(SysEquipmentinfo sysEquipmentinfo);

        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        List<OrderLayerwindingmachineequipment> GetOrder_LayerwindingmachineEquipmentInfo();

        /// <summary>
        /// 获取用户id
        /// </summary>
        /// <returns></returns>
        Task<List<int>> GetUserid();
    }
}